



<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
  <title>添加联系人页面</title>
  <meta charset = "utf-8">
</head>

<body>


<h1><font color="#7fffd4">添加联系人！！！！</font></h1>
<form enctype="multipart/form-data" action="${pageContext.request.contextPath}/addPerson" method="post">
<%--enctype="multipart/form-data" --%>
  <table>
    <%--头像<img style="width: 10%" src="${pageContext.request.contextPath}/upload_repository/${person.face}">--%>
    <tr height = "50px">    <td> <font color="#7fffd4">头像：</font></td>       <td><input type="file" name = "face"></td>    </tr>
    <tr height = "50px">    <td><font color="#7fffd4">姓名：</font></td>        <td><input type = "text" name = "personName"></td>    </tr>
    <tr height = "50px">    <td><font color="#7fffd4">生日：</font></td>        <td><input type = "Date" name = "birthday"></td>         </tr>
    <tr height = "50px">    <td><font color="#7fffd4">性别：</font></td>        <td><input type = "radio" name = "sex" value="男" checked>男<input type = "radio" name = "sex" value="女">女</td>         </tr>
    <tr height = "50px">    <td> <font color="#7fffd4">联系电话：</font></td>    <td><input type = "text" name = "mobile"></td>      </tr>
    <tr height = "50px">    <td> <font color="#7fffd4">住址：</font></td>       <td> <input type = "text" name = "address"></td>    </tr>
    <tr height = "50px">    <td><input type = "submit" value = "添加"></td>    <td> <input type = "reset" value = "重置"></td>   </tr>
  </table>
</form>

</body>

</html>
